package com.tencreat.domain.account.vo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/****
 * 供应商列表响应
 */
@Data
public class MallSupplierRespVo {
    private Long id;


    private Long uuid;


    private Long userId;

    private String username;

    private Long province;

    @ApiModelProperty(value= "行政区域表的市ID")
    private Long city;

    @ApiModelProperty(value= "行政区域表的区县ID")
    private Long county;

    private String account;

    /**
     * 用户手机号码
     */
    private String mobile;


    /**
     * 详细地址
     */
    private String address;


    /**
     * 身份证正面
     */
    private String frontOfIdCard;


    /**
     * 身份证背面
     */
    private String backOfIdCard;

    /**
     * 0 待审核, 1 审核成功, 2 审核驳回
     */
    private Integer approvalStatus;

    /**
     * 0 可用, 1 禁用, 2 注销
     */
    private Integer status;


    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;


    /**
     * 租户ID
     */
    private Long tenantId;


    /** 创建时间 */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /****
     * 省市区
     */
    private String provinceName;
    private String cityName;
    private String countyName;

    @ApiModelProperty("货款")
    private BigDecimal supplierEarnings;

    //营业执照
    private String businessLicense;
}
